<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>测试页面</title>
</head>
<body>
	<h1>测试主页面</h1>
	<hr />
	<br />
	<h3>依照ID查找文件</h3>
	<form action="/findById" method="get">
		请输入您要查询的 文件ID:<input type="text" name="iIid" /> <input type="submit"
			value="查询" />
	</form>
	<br />
	<hr />
	<br />
	<h3>查询文件列表</h3>
	<form action="/findAll" method="get">
		查询全部： <input type="submit" value="查询" />
	</form>
	<br />
	<hr />

	<br />
	<h3>增加文件</h3>

	<form th:action="@{/add}" th:method="post" th:object="${item}">

		&nbsp;&nbsp; 文件ID:<input type="text" th:field="*{iIid}"  /> <br />
		&nbsp;&nbsp; 用户ID:<input type="text" th:field="*{iUid}" /><br />
		&nbsp;&nbsp; 父ID:<input type="text" th:field="*{iPid}" /><br />
		&nbsp;&nbsp; 文件类型:<input type="text" th:field="*{iType}" /><br />
		&nbsp;&nbsp; 文件名称:<input type="text" th:field="*{iName}" /><br />
		&nbsp;&nbsp; 文件大小:<input type="text" th:field="*{iSize}" /><br />
		&nbsp;&nbsp; 上传时间:<input type="text" th:field="*{iPubdate}" /><br /> 
		&nbsp;&nbsp; 修改时间:<input type="text" th:field="*{iModdate}" /><br /> 
		&nbsp;&nbsp; 下载时间:<input type="text" th:field="*{iDowdate}" /><br /> 
	    &nbsp;&nbsp; 下载数:<input type="text" th:field="*{iDownload}" /><br /> 
		&nbsp;&nbsp; 存储位置:<input type="text" th:field="*{iAddress}" /><br /> 
		<input type="submit" value="增加文件" />
			
	</form>

	<br />
	<hr />

<div id="abc">
	<h3>修改文件</h3>


	<form th:action="@{/update}" th:method="post" th:object="${item}">
	
		&nbsp;&nbsp; 文件ID:<input type="text" th:field="*{iIid}"  /> <br />
		&nbsp;&nbsp; 用户ID:<input type="text" th:field="*{iUid}" /><br />
		&nbsp;&nbsp; 父ID:<input type="text" th:field="*{iPid}" /><br />
		&nbsp;&nbsp; 文件类型:<input type="text" th:field="*{iType}" /><br />
		&nbsp;&nbsp; 文件名称:<input type="text" th:field="*{iName}" /><br />
		&nbsp;&nbsp; 文件大小:<input type="text" th:field="*{iSize}" /><br />
		&nbsp;&nbsp; 上传时间:<input type="text" th:field="*{iPubdate}" /><br /> 
		&nbsp;&nbsp; 修改时间:<input type="text" th:field="*{iModdate}" /><br /> 
		&nbsp;&nbsp; 下载时间:<input type="text" th:field="*{iDowdate}" /><br /> 
	    &nbsp;&nbsp; 下载数:<input type="text" th:field="*{iDownload}" /><br /> 
		&nbsp;&nbsp; 存储位置:<input type="text" th:field="*{iAddress}" /><br /> 
		 <input	type="submit" value="修改文件" />
	</form>
</div>
	<br />
	
	
	<hr />
	<h3>依照ID删除</h3>
	<form action="/delete" method="post">
		请输入您要删除的文件ID:<input type="text" name="iIid" /> <input type="submit"
			value="删除" />
	</form>
	<br />

</body>
</html>
